﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

public partial class Main : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["txtUserName"].ToString() != null)
        {
            //lblUser.Text = Session["txtUserName"].ToString();
            Label headerLabel = (Label)Master.FindControl("lblUser");
            headerLabel.Text = Session["txtUserName"].ToString();
        }

        
    }
    protected void btn_signOut_Click(object sender, EventArgs e)
    {
        //Session["txtUserName"] = null;
        //Response.Redirect("login.aspx");
    }
}
